clone docker v18.09.8
修改golang环境
1
2
3/root/docker-ce-18.09.8/components/packaging/Makefile
/root/docker-ce-18.09.8/components/packaging/rpm/Makefile
文件中O_VERSION:=1.12.5(已docker pull下的ppc版本golang镜像)
- 修改SPECS
1 | /root/docker-ce-18.09.8/components/packaging/rpm/SPECS |
修改Requires: containerd.io >= 1.2.2-3
为 Requires: containerd >= 1.2.2-3
- 构建
1
make rpm